package com.myblog.constant;

/**
 * 功能: 邮箱常量
 * 作者: 沙琪马
 * 日期: 2024/6/22 15:37
 */
public class EmailConstant {
    // 发送方账号
    public static final String EMAIL_FORMAT = "1789714718@qq.com";
    // 邮件主题
    public static final String EMAIL_SUBJECT = "【沙琪马】登录邮箱验证";
    // 验证码长度
    public static final int VERIFICATION_CODE_LENGTH = 4;
    // 验证码失效时间
    public static final int EMAIL_EXPIRE_TIME = 5;
    public static final String EMAIL_EXPIRE_TIME_UNIT = "分钟";

    // 邮箱格式错误
    public static final String EMAIL_ERROR = "邮箱格式错误";
    // 这个邮箱还没被注册过
    public static final String EMAIL_NOT_EXIST = "这个邮箱还没被注册过";
    // 邮箱发送成功
    public static final String EMAIL_SEND_SUCCESS = "验证码已发送，请检查您的邮箱。";
    // 邮箱已注册
    public static final String EMAIL_EXIST = "这个邮箱已经注册过账户了";
}
